<?php
$pageTitle = "Customer Registration";
include "common/header.php";
include "config.php";
include "src/customer/controller.class.php";
include "src/customer/customer.class.php";
if (isset($_REQUEST['action'])){
	$action = $_REQUEST['action'];
}else {
	$action = $_POST['action'];
}

if (isset($action)){		
	switch ($action){
		case "new":{
			include("src/customer/form.php");	
			break;
		}
		case "profile":{
			include("src/customer/formu.php");	
			break;
		}
		case "chpass":{
			include("src/customer/formup.php");
			break;
		}
		case "browse":{
			include("src/customer/browse.php");
			break;
		}
	}
}	
include "common/footer.php";
?>